package com.dataart.training.crimequalification.service;

import com.dataart.training.crimequalification.entity.QualificationTaskEntity;
import com.dataart.training.crimequalification.entity.TaskSolutionResultEntity;
import com.dataart.training.crimequalification.entity.UserEntity;

import java.util.List;

public interface QualificationTaskService {

    List<QualificationTaskEntity> getAllTasks();

    QualificationTaskEntity getTaskById(Integer taskId);

    void saveUserSubmittedTaskSolutionResult(TaskSolutionResultEntity solutionResult);

    List<TaskSolutionResultEntity> getAllUserSolutions(UserEntity user);

}
